<div id="body_top">
<div class="content_wrapper">
<div id="create_offer_top">
<h3 class="black"><?php echo(__('Upload Media</h3>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh
euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.'));?>
</div>
<img src="<?php echo $html->url('/images/upload.png');?>" id="add_icon">
</div>
</div>
<div id="body_mid">
<div class="gray_bg"><span class="black"><?php echo(__('Choose you files you want to upload</span> (each file should be under 100MB)'));?></div>
<div class="content_wrapper">
<div class="what_new"><?php echo(__('On this page you are able to add Videos and Images to your offer. You don\'t need to do it. It is not mandatory to add videos.'));?></div>
<a href="<?php echo $html->url('/assets/add');?>"><?php echo(__('Use extended uploader'))?>:</a>
<div class="mediaFiles form">
<?php echo $form->create('Asset', array("enctype"=>"multipart/form-data", 'action'=>'multi_upload'));?>
	<fieldset>
	<?php
		//echo $form->input('offer_id');
		for($i=1;$i<$max_files;$i++)
		{
			echo $form->input($i.'.name', array('type'=>'file','class'=>'multi','label'=>'File '.$i));
		}
	?>
	</fieldset>
	
<?php if($assets) { ?>
	<h3 class="black"><?php echo(__('Uploaded files'));?></h3>
	<ul class="upload_media">
	<?php foreach($assets as $offerAsset) { ?>
<li>
		<?php echo $asset->preview($offerAsset);?><br/>	<?php echo $asset->removeLink($offerAsset['id']);?>
		</li>
	<?php } ?>
	</ul>
	<div class="clr"></div>
<?php } ?>
<br/>
<span class="button_set">
<div class="submit"><button class="back" onclick="document.location='<?php echo $html->url('/offers/edit');?>'; return false;"><?php echo(__('Back'));?></button></div>
<?php echo $form->submit(__('Next (Show Preview)',true));?>
</span>
&nbsp;
</div>
</div>
</div>